<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Objective-C API Reference for iOS/macOS: &lt;JCMediaChannelCallback&gt;协议 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Objective-C API Reference for iOS/macOS
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">构造函数</a> &#124;
<a href="protocol_j_c_media_channel_callback-p-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">&lt;JCMediaChannelCallback&gt;协议 参考<div class="ingroups"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html">媒体频道模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#import &lt;<a class="el" href="_j_c_media_channel_callback_8h_source.html">JCMediaChannelCallback.h</a>&gt;</code></p>
<div class="dynheader">
类 &lt;JCMediaChannelCallback&gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="protocol_j_c_media_channel_callback-p.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
构造函数</h2></td></tr>
<tr class="memitem:a12ada003140a0c5a44c0c5f69702acf7"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#a12ada003140a0c5a44c0c5f69702acf7">onMediaChannelStateChange:oldState:</a></td></tr>
<tr class="separator:a12ada003140a0c5a44c0c5f69702acf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f10fcd984b93e9d9ae2ab14b848ba32"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#a8f10fcd984b93e9d9ae2ab14b848ba32">onMediaChannelPropertyChange:</a></td></tr>
<tr class="separator:a8f10fcd984b93e9d9ae2ab14b848ba32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac442c8c1d360ba3b38788ee428424ed2"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#ac442c8c1d360ba3b38788ee428424ed2">onJoin:reason:channelId:</a></td></tr>
<tr class="separator:ac442c8c1d360ba3b38788ee428424ed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0397acf71428976f43c72effbec2a0ad"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#a0397acf71428976f43c72effbec2a0ad">onLeave:channelId:</a></td></tr>
<tr class="separator:a0397acf71428976f43c72effbec2a0ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0ed7f8f42ae29eb21a2197afa00f4c3"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#af0ed7f8f42ae29eb21a2197afa00f4c3">onStop:reason:</a></td></tr>
<tr class="separator:af0ed7f8f42ae29eb21a2197afa00f4c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a80b6bbb7da129d67cf1596a14c54e5"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#a4a80b6bbb7da129d67cf1596a14c54e5">onQuery:result:reason:queryInfo:</a></td></tr>
<tr class="separator:a4a80b6bbb7da129d67cf1596a14c54e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5342368f4be4ded2a96c1516d117196"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#aa5342368f4be4ded2a96c1516d117196">onParticipantJoin:</a></td></tr>
<tr class="separator:aa5342368f4be4ded2a96c1516d117196"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2ae73586c030e4f3a6886cd66f11a73"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#af2ae73586c030e4f3a6886cd66f11a73">onParticipantLeft:</a></td></tr>
<tr class="separator:af2ae73586c030e4f3a6886cd66f11a73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab971c654c6ec7b55706aaa2c9a84bb87"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#ab971c654c6ec7b55706aaa2c9a84bb87">onParticipantUpdate:participantChangeParam:</a></td></tr>
<tr class="separator:ab971c654c6ec7b55706aaa2c9a84bb87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a7440b88ef2f90f3eaa3473c2048cd8"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#a9a7440b88ef2f90f3eaa3473c2048cd8">onMessageReceive:content:fromUserId:</a></td></tr>
<tr class="separator:a9a7440b88ef2f90f3eaa3473c2048cd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad149be58b9ecd0b4e046c23c1d34f475"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#ad149be58b9ecd0b4e046c23c1d34f475">onInviteSipUserResult:result:reason:</a></td></tr>
<tr class="separator:ad149be58b9ecd0b4e046c23c1d34f475"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d281027a9b2f66ffec782022e8642a2"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_j_c_media_channel_callback-p.html#a8d281027a9b2f66ffec782022e8642a2">onParticipantVolumeChange:</a></td></tr>
<tr class="separator:a8d281027a9b2f66ffec782022e8642a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p><a class="el" href="interface_j_c_media_channel.html">JCMediaChannel</a> 回调 </p>
</div><h2 class="groupheader">函数文档</h2>
<a id="ad149be58b9ecd0b4e046c23c1d34f475"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad149be58b9ecd0b4e046c23c1d34f475">&#9670;&nbsp;</a></span>onInviteSipUserResult:result:reason:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onInviteSipUserResult: </td>
          <td></td>
          <td class="paramtype">(int)&#160;</td>
          <td class="paramname"><em>operationId</em></td>
        </tr>
        <tr>
          <td class="paramkey">result:</td>
          <td></td>
          <td class="paramtype">(bool)&#160;</td>
          <td class="paramname"><em>result</em></td>
        </tr>
        <tr>
          <td class="paramkey">reason:</td>
          <td></td>
          <td class="paramtype">(int)&#160;</td>
          <td class="paramname"><em>reason</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>邀请Sip用户操作结果回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作id </td></tr>
    <tr><td class="paramname">result</td><td>邀请用户是否成功<ul>
<li>true：成功，此时会触发 <a class="el" href="protocol_j_c_media_channel_callback-p.html#aa5342368f4be4ded2a96c1516d117196">onParticipantJoin</a> 回调</li>
<li>false：失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效。参见：<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gae0401b41d32a54f0216006c065fa1b2a">失败原因</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac442c8c1d360ba3b38788ee428424ed2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac442c8c1d360ba3b38788ee428424ed2">&#9670;&nbsp;</a></span>onJoin:reason:channelId:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onJoin: </td>
          <td></td>
          <td class="paramtype">(bool)&#160;</td>
          <td class="paramname"><em>result</em></td>
        </tr>
        <tr>
          <td class="paramkey">reason:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gae0401b41d32a54f0216006c065fa1b2a">JCMediaChannelReason</a>)&#160;</td>
          <td class="paramname"><em>reason</em></td>
        </tr>
        <tr>
          <td class="paramkey">channelId:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>channelId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>加入频道结果回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>加入频道是否成功<ul>
<li>true：成功</li>
<li>false：失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>加入失败原因，当 result 为 false 时该值有效。失败原因参见：<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gae0401b41d32a54f0216006c065fa1b2a">错误码</a> </td></tr>
    <tr><td class="paramname">channelId</td><td>频道标识符 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0397acf71428976f43c72effbec2a0ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0397acf71428976f43c72effbec2a0ad">&#9670;&nbsp;</a></span>onLeave:channelId:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onLeave: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gae0401b41d32a54f0216006c065fa1b2a">JCMediaChannelReason</a>)&#160;</td>
          <td class="paramname"><em>reason</em></td>
        </tr>
        <tr>
          <td class="paramkey">channelId:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>channelId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>离开频道结果回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reason</td><td>离开原因，参见：<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gae0401b41d32a54f0216006c065fa1b2a">离开原因</a> </td></tr>
    <tr><td class="paramname">channelId</td><td>频道标识符 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8f10fcd984b93e9d9ae2ab14b848ba32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f10fcd984b93e9d9ae2ab14b848ba32">&#9670;&nbsp;</a></span>onMediaChannelPropertyChange:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onMediaChannelPropertyChange: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_j_c_media_channel_prop_change_param.html">JCMediaChannelPropChangeParam</a> *)&#160;</td>
          <td class="paramname"><em>changeParam</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>属性变化回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">changeParam</td><td><a class="el" href="interface_j_c_media_channel_prop_change_param.html">JCMediaChannelPropChangeParam</a> 变化标识集合 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a12ada003140a0c5a44c0c5f69702acf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12ada003140a0c5a44c0c5f69702acf7">&#9670;&nbsp;</a></span>onMediaChannelStateChange:oldState:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onMediaChannelStateChange: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga8037700c77019a9964f7a7b7fcfb814f">JCMediaChannelState</a>)&#160;</td>
          <td class="paramname"><em>state</em></td>
        </tr>
        <tr>
          <td class="paramkey">oldState:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga8037700c77019a9964f7a7b7fcfb814f">JCMediaChannelState</a>)&#160;</td>
          <td class="paramname"><em>oldState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>自身在频道中的状态变化回调</p>
<p>状态：</p><ul>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga8037700c77019a9964f7a7b7fcfb814faf0f0fdcaf5717374744bc1f24adcd677">JCMediaChannelStateIdle</a> : 空闲状态</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga8037700c77019a9964f7a7b7fcfb814fa8543fa4cbb96d2d36d23d658a302bcdc">JCMediaChannelStateJoining</a> : 加入中</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga8037700c77019a9964f7a7b7fcfb814fa3179806a02aecefd7f3702c278ac8c4c">JCMediaChannelStateJoined</a> : 已加入</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga8037700c77019a9964f7a7b7fcfb814fa17c7c0fdfbb8151ca20e0569be242262">JCMediaChannelStateLeaving</a> : 离开中</li>
</ul>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>当前状态 </td></tr>
    <tr><td class="paramname">oldState</td><td>变化前状态 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9a7440b88ef2f90f3eaa3473c2048cd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a7440b88ef2f90f3eaa3473c2048cd8">&#9670;&nbsp;</a></span>onMessageReceive:content:fromUserId:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onMessageReceive: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>type</em></td>
        </tr>
        <tr>
          <td class="paramkey">content:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>content</em></td>
        </tr>
        <tr>
          <td class="paramkey">fromUserId:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>fromUserId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>接收频道消息的回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>消息类型 对应 <a class="el" href="interface_j_c_media_channel.html#a7617239966ea595482eb11beb0b8ff4a">sendMessage</a> 方法中的 type 参数 </td></tr>
    <tr><td class="paramname">content</td><td>消息内容 对应 <a class="el" href="interface_j_c_media_channel.html#a7617239966ea595482eb11beb0b8ff4a">sendMessage</a> 方法中的 content 参数 </td></tr>
    <tr><td class="paramname">fromUserId</td><td>消息发送成员的 userId </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa5342368f4be4ded2a96c1516d117196"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5342368f4be4ded2a96c1516d117196">&#9670;&nbsp;</a></span>onParticipantJoin:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onParticipantJoin: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> *)&#160;</td>
          <td class="paramname"><em>participant</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>新成员加入回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">participant</td><td><a class="el" href="interface_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 成员对象 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af2ae73586c030e4f3a6886cd66f11a73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2ae73586c030e4f3a6886cd66f11a73">&#9670;&nbsp;</a></span>onParticipantLeft:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onParticipantLeft: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> *)&#160;</td>
          <td class="paramname"><em>participant</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>成员离开回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">participant</td><td><a class="el" href="interface_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 成员对象 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab971c654c6ec7b55706aaa2c9a84bb87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab971c654c6ec7b55706aaa2c9a84bb87">&#9670;&nbsp;</a></span>onParticipantUpdate:participantChangeParam:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onParticipantUpdate: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> *)&#160;</td>
          <td class="paramname"><em>participant</em></td>
        </tr>
        <tr>
          <td class="paramkey">participantChangeParam:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_j_c_media_channel_participant_change_param.html">JCMediaChannelParticipantChangeParam</a> *)&#160;</td>
          <td class="paramname"><em>participantChangeParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>成员更新回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">participant</td><td><a class="el" href="interface_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 成员对象 </td></tr>
    <tr><td class="paramname">changeParam</td><td><a class="el" href="interface_j_c_media_channel_participant_change_param.html">JCMediaChannelParticipantChangeParam</a> 更新标识类 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8d281027a9b2f66ffec782022e8642a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d281027a9b2f66ffec782022e8642a2">&#9670;&nbsp;</a></span>onParticipantVolumeChange:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onParticipantVolumeChange: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> *)&#160;</td>
          <td class="paramname"><em>participant</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>成员声音变化</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">participant</td><td><a class="el" href="interface_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 变化成员 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4a80b6bbb7da129d67cf1596a14c54e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a80b6bbb7da129d67cf1596a14c54e5">&#9670;&nbsp;</a></span>onQuery:result:reason:queryInfo:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onQuery: </td>
          <td></td>
          <td class="paramtype">(int)&#160;</td>
          <td class="paramname"><em>operationId</em></td>
        </tr>
        <tr>
          <td class="paramkey">result:</td>
          <td></td>
          <td class="paramtype">(bool)&#160;</td>
          <td class="paramname"><em>result</em></td>
        </tr>
        <tr>
          <td class="paramkey">reason:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gae0401b41d32a54f0216006c065fa1b2a">JCMediaChannelReason</a>)&#160;</td>
          <td class="paramname"><em>reason</em></td>
        </tr>
        <tr>
          <td class="paramkey">queryInfo:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_j_c_media_channel_query_info.html">JCMediaChannelQueryInfo</a> *)&#160;</td>
          <td class="paramname"><em>queryInfo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>查询频道信息结果回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作id，由 <a class="el" href="interface_j_c_media_channel.html#adbcf56921812241efff844203504b1e6">query</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>查询频道信息是否成功<ul>
<li>true：查询成功</li>
<li>false：查询失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>查询失败原因，当 result 为 false 时该值有效。失败原因参见：<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gae0401b41d32a54f0216006c065fa1b2a">JCMediaChannel 错误码</a> </td></tr>
    <tr><td class="paramname">queryInfo</td><td><a class="el" href="interface_j_c_media_channel_query_info.html">JCMediaChannelQueryInfo</a> 对象，查询到的频道信息，当失败时只需关注 <a class="el" href="interface_j_c_media_channel_query_info.html#a53e6ef4efdf33b3a8124029cda454d67">channelId</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af0ed7f8f42ae29eb21a2197afa00f4c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0ed7f8f42ae29eb21a2197afa00f4c3">&#9670;&nbsp;</a></span>onStop:reason:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) onStop: </td>
          <td></td>
          <td class="paramtype">(bool)&#160;</td>
          <td class="paramname"><em>result</em></td>
        </tr>
        <tr>
          <td class="paramkey">reason:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gae0401b41d32a54f0216006c065fa1b2a">JCMediaChannelReason</a>)&#160;</td>
          <td class="paramname"><em>reason</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>解散频道结果回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>解散频道是否成功<ul>
<li>true：成功</li>
<li>false：失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>解散失败原因，当 result 为 false 时该值有效。失败原因参见：<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gae0401b41d32a54f0216006c065fa1b2a">JCMediaChannel 失败原因</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该协议的文档由以下文件生成:<ul>
<li>JCSDKOC/JCSDKOC/JCMediaChannel/<a class="el" href="_j_c_media_channel_callback_8h_source.html">JCMediaChannelCallback.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
